/* The contents under 'path' are stored in pMessageBuffer. */
void ProcessSls()
{
	char buf[1024];
	size_t size = 1024;
	
	if(argu[0] == '\0')
		getcwd(buf, size);
	else
		strcpy(buf, argu);
	
	PrintDir(buf);

	if(write(new_fd, pMessageBuffer, strlen(pMessageBuffer)) == -1)
	{
		fprintf(stderr, "Write error:%s\n\a", strerror(errno));
		exit(1);
	}
}
